package com.aau.edu.design.proxy;

import org.springframework.stereotype.Component;
//不需要强制要求被代理的类实现接口
@Component
//public class UserServiceImpl implements UserService{
public class UserServiceImpl{
//    @Override
    public void add() {
        System.out.println("----------------add-----------------");
    }
}
